package com.cjy.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Cheng JiYe
 * @description: MybatisPlus配置
 * @date 2021/11/13 2:28
 */
//@Configuration
public class MybatisPlusConfig {
    /** pagehelper的分页插件 */
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }
}
